iShell Help
Tribeworks > iShell > Events >
  Tween
   
The Tween event is triggered when the element is running. It happens on each idle (as often as possible) - so the CPU speed and load will influence the frequency of the Tween events. The Run command will start and stop these events.

  • Elements: Tween events can be placed in any element, but they will only work if there is a duration and the element is running.
  • Parameters
    • Tween Time: The time in the scale of the duration. Time will range from 0 to Duration. Time/Duration is the ratio of completion - very useful for creating your own custom tweeners.
    • Tween Duration: The total duration of the element. Duration can be zero - so beware of "divide by zero" errors when calculating Time/Duration.